<style type="text/css">
.uu_mail_box { margin:10px; border:4px solid #09C; overflow:hidden; }
.uu_mail_header { background:#09C; padding:0px 10px; position:relative; line-height:50px; color:#fff; font-size:12px; }
#uu_mail_content { padding:10px; background:#fff; }
#uu_mail_content p { margin:0px; padding:0px; line-height:30px; font-size:14px;}
.uu_mail_table { font-size:12px; line-height:30px; background:#ddd; }
.uu_mail_table th { background:#eee;}
.uu_mail_table tr { background:#fff; }
.uu_mail_table tr:hover { background:#f8f8f8; }
</style>

<div class="uu_mail_box">
	<div class="uu_mail_header">
    	<span style="float:right;">此为系统告警邮件，请勿回复。</span>
    	<img src="http://wasu.netsense.com.cn/public/images/logo.png" border="0" />
    </div>
    <div id="uu_mail_content">
    	<p style="padding:5px 0px;">尊敬的<$username>，华数监控系统发现您的平台或应用出现问题，具体信息请参考以下数据：</p>
        <p>
       <table width="100%" border="0" cellspacing="1" cellpadding="1" class="uu_mail_table">
          <tr>
            <th scope="col">设备信息</th>
            <th scope="col">地区</th>
            <th scope="col">离线日期</th>
          </tr>
          <?php foreach($alarm_info as $alarm): ?>
          <tr>
            <td><?php echo $alarm['model'].($alarm['MSIN']?'['.$alarm['MSIN'].']':'');?></td>
            <td><?php echo $alarm['location'];?></td>
            <td><?php echo $alarm['addtime'];?></td>
          </tr>
          <?php endforeach; ?>
        </table>
        </p>
        <p>
        <br />
      <span>更多信息请登录监控系统查看。</span>
      <br />
        </p>
    </div>
</div>